home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Charlie Rose Science Series Anthology
/
The Charlie Rose Science Series Anthology (Pfizer, Inc.)(2008).iso
/
mac
/
Charlie Rose Science Series Anthology.app
/
Contents
/
Resources
/
movie.swf
/
scripts
/
__Packages
/
mx
/
controls
/
streamingmedia
/
MuteButton.as
< prev
next >
Wrap
Text File
|
2008-02-01
|
699b
|
22 lines
class mx.controls.streamingmedia.MuteButton extends MovieClip
{
function MuteButton()
{
super();
this.init();
}
function init()
{
this.attachMovie("SimpleButton","muteSimpleButton",1,{falseUpSkin:"Mute-False-Up",falseOverSkin:"Mute-False-Over",falseDownSkin:"Mute-False-Down",falseDisabledSkin:"Mute-False-Disabled"});
this.muteSimpleButton.addEventListener("click",this);
this.muteSimpleButton.enabled = this._parent._parent.enabled;
this.tabEnabled = false;
this.tabChildren = true;
}
function click(ev)
{
this._parent._parent.broadcastEvent("volume",0);
this._parent.getHandle().setMute();
}
}